package com.badger.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

/**
 * (t_loginlogs)的实体.
 * @author liqi
 */
@lombok.Data
@TableName(value = "t_loginlogs")
public class Loginlogs implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**id.*/
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**用户id.*/
    @TableField(value = "user_id")
    private String userId;

    /**用户姓名.*/
    @TableField(value = "user_name")
    private String userName;

    /**开始时间.*/
    @TableField(value = "begin_time")
    private Date beginTime;

    /**结束时间.*/
    @TableField(value = "end_time")
    private Date endTime;

    /**登入IP.*/
    @TableField(value = "ip_address")
    private String ipAddress;

    /**公司id.*/
    @TableField(value = "company_id")
    private String companyId;

    /**公司名称.*/
    @TableField(value = "company_name")
    private String companyName;

    /**id.*/
    public static final String ID = "id";

    /**用户id.*/
    public static final String USER_ID = "user_id";

    /**用户姓名.*/
    public static final String USER_NAME = "user_name";

    /**开始时间.*/
    public static final String BEGIN_TIME = "begin_time";

    /**结束时间.*/
    public static final String END_TIME = "end_time";

    /**登入IP.*/
    public static final String IP_ADDRESS = "ip_address";

    /**公司id.*/
    public static final String COMPANY_ID = "company_id";

    /**公司名称.*/
    public static final String COMPANY_NAME = "company_name";

}